﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>产品中心 - <%=SiteConfig.WebName%></title>
<!-- ===== seo ===== -->
<%=AddMetaInfo(SiteConfig.WebKeywords, SiteConfig.WebDescription)%>
<!-- ===== css ===== -->
<link rel="shortcut icon" href="<%=SiteConfig.WebPath%>favicon.ico" mce_href="<%=SiteConfig.WebPath%>favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="<%=SiteTemplatePath("default")%>css/style.css" />
<script type="text/javascript" src="<%=SiteConfig.WebPath%>js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<%=SiteTemplatePath("default")%>js/base.js"></script>
</head>
<body>
<%template src=/_warning_ie6.htm/%>
<%template src=/_header.htm/%>
<!-- ===== 正文内容 ===== -->
<div class="container">
	<%template src=/_search_box.htm/%>
	<div class="clear"></div>
	<!-- ===== 面包屑与功能按钮 ===== -->
	<div class="bread_crumbs"><a href="<%=URLRewrite("index", "")%>">主页</a> > <a href="<%=URLRewrite("picture", "")%>">产品中心</a> <%=GetChannel_Menu("picture_list1", this.classId) %>
		<div class="right_function_key">
			<a href="javascript:void(0);" onclick="SetFontSize('.page_product_list', 12);"><img src="<%=SiteTemplatePath("default")%>images/font_delete.png" width="16" height="16" /> 缩小</a><a href="javascript:void(0);" onclick="SetFontSize('.page_product_list', 16);"><img src="<%=SiteTemplatePath("default")%>images/font_add.png" width="16" height="16" /> 放大</a><a href="javascript:window.print();"><img src="<%=SiteTemplatePath("default")%>images/printer.png" width="16" height="16" /> 打印</a>
		</div>
	</div>
	<!-- ===== 左侧正文 ===== -->
	<div class="page_left">
		<%if(this.classId>0) {%>
		<h2 id="page_title"><%=GetChannel_Title(this.classId) %></h2>
		<%} %>
		<!-- ===== 产品列表 ===== -->
		<div class="page_product_list">
		    <ul>
			    <DtContorl:Repeater ID="rptList1" runat="server" onload="Picture_List_DataBind" Where='<%#this.pwhere %>' PageSize='<%#this.pagesize %>' PageIndex='<%#this.page %>'>
                  <ItemTemplate>
                    <li><a href="<%#URLRewrite("picture_show", Eval("Id")) %>"><img src="<%#Eval("ImgUrl")%>" width="196" height="196" alt="<%#Eval("Title")%>" /><%#Utils.CutString(Eval("Title").ToString(), 26)%></a></li>
                  </ItemTemplate>
                </DtContorl:Repeater>
		    </ul>
	    </div>
		<%=PagerText(this.pcount, this.pagesize, this.page, URLRewrite("picture_list2", this.classId, "__id__"), "pagination", "flickr")%>
	</div>
	<!-- ===== 左侧子导航 ===== -->
	<div class="page_right">
		<h3>产品类别</h3>
		<ul class="sidebar_nav">
			<%=GetChannel_List(this.kindId, 0, "picture_list1")%>
		</ul>
		<h3>推荐产品</h3>
		<ul class="sidebar_news">
			<DtContorl:Repeater ID="rptList2" runat="server" onload="Picture_List_DataBind" Top="8" Where="IsLock=0 and IsRed=1">
              <ItemTemplate>
                <li><a href="<%#URLRewrite("picture_show", Eval("Id")) %>"><%#Eval("Title")%></a><i><span><%#Comment_Count(this.kindId,  Convert.ToInt32(Eval("Id")))%> 评论</span><%#Eval("AddTime")%></i></li>
              </ItemTemplate>
            </DtContorl:Repeater>
		</ul>
	</div>
	<div class="clear"></div>
</div>
<%template src=/_footer.htm/%>
</body>
</html>
